package com.hst.capacity.domain.model.request.dispatch;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class DispatchPartyDriverParam {

    @NotEmpty(message = "司机手机号[mobile]不能为空")
    private String mobile;
    @NotEmpty(message = "司机名称[driverName]不能为空")
    private String driverName;
    @NotEmpty(message = "车牌号[plateNumber]不能为空")
    private String plateNumber;
    @NotEmpty(message = "车辆型号[model]不能为空")
    private String model;
    @NotEmpty(message = "车辆品牌[brand]不能为空")
    private String brand;
    @NotEmpty(message = "车辆颜色[color]不能为空")
    private String color;
    @NotNull(message = "载客量[passengerCapacity]不能为空")
    private int passengerCapacity;
    @NotEmpty(message = "订单号不能未空")
    private String idOrder;
    @NotEmpty(message = "调度员用户名不能为空")
    private String dispatcher;

    private String externalOrderId;

    // 订单任务类型 0:专车,1:城际,9:快车
    private int moduleType;
}
